﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using BusinessLayer.WorldArtPrice.Entities;
using CommandLib;

namespace BackEnd.Models
{
    public class ImageLastProjectModel
    {
        public int Id { get; set; }

        [Display(Name = "Image")]
        public string Image { get; set; }
        public string ImageUrl { get; set; }
        [Display(Name = "Type Image")]
        public int Type { get; set; }
        [Display(Name = "Redirect Url")]
        public string RedirectUrl { get; set; }
        [Display(Name = "Info")]
        public string Info { get; set; }

        public List<ImageLastProjectTypeModel> ListImageLastProjectType { get; set; }
        public List<ImageLastProject> ListImageLastProject { get; set; }

        public ImageLastProjectModel()
        {
            Id = 0;
            Image = string.Empty;
            ImageUrl = string.Empty;
            Type = Constant.PROJECT_IMAGE_ARTIST;
            RedirectUrl = string.Empty;
            Info = string.Empty;
            ListImageLastProjectType = new List<ImageLastProjectTypeModel>();           
            ListImageLastProject = new List<ImageLastProject>();
        }
    }
}